package com.mingren.mapper;

import com.mingren.model.domain.Space;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author ROG
* @description 针对表【space(空间)】的数据库操作Mapper
* @createDate 2025-03-05 12:21:41
* @Entity com.mingren.model.domain.Space
*/
public interface SpaceMapper extends BaseMapper<Space> {

    /**
     * 获取存储使用量tonN的空间
     * @param topN
     * @return
     */
    List<Space> getTopNSpaceUsage(int topN);
}




